/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mii.dao;

import java.util.List;
import mii.ejb.entity.Complain;

/**
 *
 * @author TEKNISI
 */
public interface ComplainDAO {
    public void insert(Complain complain)throws Exception;
    public void update(Complain complain)throws Exception;
    public void delete(Complain complain)throws Exception;
    public List<Complain> getAll();
    public Complain getById (long id);    
    public Complain getByKode(String kodeComp) throws Exception;
       
}
